package com.miku.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.miku.mikuapicommon.model.entity.InterfaceInfo;

/**
 * 接口信息服务
 *
 * @author <a href="https://gitee.com/deng-taotao-eee">miku</a>
 * @from <a href=""></a>
 */
public interface InterfaceInfoService extends IService<InterfaceInfo> {

    void validInterfaceInfo(InterfaceInfo interfaceInfo, boolean add);


    /**
     * 更新总调用次数
     * @param interfaceId
     * @return
     */
    boolean updateTotalInvokes(long interfaceId);
}
